package com.ruoyi.keep.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 团课评价管理对象 tc_evaluation
 * 
 * @author yipeng
 * @date 2024-08-14
 */
public class TcEvaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  团课评价id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户姓名 */
    private String userName;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String evaluation;

    /** 评价图片 */
    @Excel(name = "评价图片")
    private String ePicture;

    /** 教练id */
    @Excel(name = "教练id")
    private Long teacherId;

    /** 教练姓名 */
    private String tName;

    /** 教练评分 */
    @Excel(name = "教练评分")
    private String tScore;

    /** 发表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 团课id */
    @Excel(name = "团课id")
    private Long tcId;

    /** 团课名称 */
    private String className;

    /** 评价标签id */
    @Excel(name = "评价标签id")
    private Long eSingle;

    /** 评价标签 */
    private String sName;

    /** 0正常，1删除 */
    private Long del;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setEvaluation(String evaluation) 
    {
        this.evaluation = evaluation;
    }

    public String getEvaluation() 
    {
        return evaluation;
    }
    public void setePicture(String ePicture) 
    {
        this.ePicture = ePicture;
    }

    public String getePicture() 
    {
        return ePicture;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void settScore(String tScore) 
    {
        this.tScore = tScore;
    }

    public String gettScore() 
    {
        return tScore;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setTcId(Long tcId) 
    {
        this.tcId = tcId;
    }

    public Long getTcId() 
    {
        return tcId;
    }
    public void seteSingle(Long eSingle) 
    {
        this.eSingle = eSingle;
    }

    public Long geteSingle() 
    {
        return eSingle;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return "TcEvaluation{" +
                "id=" + id +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", evaluation='" + evaluation + '\'' +
                ", ePicture='" + ePicture + '\'' +
                ", teacherId=" + teacherId +
                ", tName='" + tName + '\'' +
                ", tScore='" + tScore + '\'' +
                ", time=" + time +
                ", tcId=" + tcId +
                ", className='" + className + '\'' +
                ", eSingle=" + eSingle +
                ", sName='" + sName + '\'' +
                ", del=" + del +
                '}';
    }
}
